package com.hk.service.profile.impl;

import com.hk.service.profile.MessageService;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Profile;
import org.springframework.stereotype.Service;

/**
 * @author: dpb
 * @Description TODO
 * @date: 2023/1/8 23:49
 * @Version 1.0
 */
@Service
@Profile({"prod"})
public class ProdMessage implements MessageService {


    @Value("${dunwu.message:Production Begin!}")
    private String message;

    @Override
    public String getMsg() {
        return message;
    }
}
